package com.wlz.behavioral.template.v1;

public class Surgery extends GoToDoctor{
    @Override
    public void register() {
        System.out.println("挂了内科号");
    }

    @Override
    public void check() {
        System.out.println("做个胃镜");
    }

    @Override
    public void quit() {
        System.out.println("退出内科");
    }



}
